Differences Between Files and Aliases
The difference between the forms
file
nameString
and
alias
nameString
is apparent when the file in question is located on a remote computer. If you use the form
file
nameString
, AppleScript doesn't attempt to locate the file until you actually run the script. If you use the form
alias
nameString
, AppleScript also attempts to locate the file whenever you compile the script, requiring appropriate access privileges and possibly a password each time.
© 1999 Apple Computer, Inc. – (Last Updated 21 May 99)